﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using log4net;

namespace MyBlog.WebService
{
    public partial class _default : System.Web.UI.Page
    {
        private static log4net.ILog myLogger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            myLogger.Info("写LOG的相关信息！");
            myLogger.Error("LOG错误");
            myLogger.Warn("写LOG的警告信息！");
        }
    }
}